![]() |
PATH![]() |
![]() ![]() |
Obtains a piece of data that has been previously associated with a control.
pascal OSStatus GetControlProperty (
ControlHandle control,
OSType propertyCreator,
OSType propertyTag,
UInt32 bufferSize,
UInt32 *actualSize,
void *propertyBuffer);
GetControlPropertySize
to get the data's size. If the size specified in the
bufferSize
parameter does not match the actual size of the property,
GetControlProperty
only retrieves data up to the size specified or up to the actual size of the property, whichever is smaller, and an error is returned.
You may use the function
GetControlProperty
to obtain a copy of data previously set by your application with the function
SetControlProperty
.